import  Vue from 'vue'
import  Vuex from 'vuex' 
Vue.use(Vuex)

const store =  new Vuex.Store({
state:{
	userInfo: uni.getStorageSync('userinof')||null,
	loginSt:false
	
},
mutations:{
	RECORD_USERINFO(state,user){
		state.userInfo = user
	},
	LGOINST(state,st){
		state.loginSt = st
	}
}
	
	
})
export default  store

